package org.meb.conquest.rest.exception;

public class DeckException extends Exception {

	private static final long serialVersionUID = -8041281990825185948L;
	
	private String errorMessage;

	public DeckException(String errorMessage) {
		this.errorMessage = errorMessage;
	}
	
	public DeckException(String errorMessage, Throwable cause) {
		super(cause);
		this.errorMessage = errorMessage;
	}
	
	public String getErrorMessage() {
		return errorMessage;
	}
}
